// 参数： url:请求地址  param：请求参数  way：请求方式 res：回调函数
	function urlRequest(url, param, way, res) {
 
		let deviceId = ''
 
		uni.getStorage({
			key: 'deviceIds',
			success: function(res) {
				deviceId = res.data;
			}
		})
 
		let baseParam = {
			deviceId: deviceId,
			os: "ios",
			version: "",
			appName: "wsj",
		}
 
		let token = "";
 
		uni.getStorage({
			key: 'token',
			success: function(ress) {
				token = ress.data
			}
		});
 
		uni.request({
			url: url,
			data: JSON.stringify(Object.assign(param, baseParam)),
			header: {
				'Token': token,
				'Accept': 'application/json',
				'Content-Type': 'application/json', //自定义请求头信息
			},
			method: way,
			success: (data) => {
				// console.log("网络请求返回值:"+ JSON.stringify(data))
				res(data)
			}
		});
 
 
	}
 
export default {
 
		url_Request: function(url, param, way, res) {
			return urlRequest(url, param, way, res);
		}
	}
